﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BaseActor : MonoBehaviour {
    public ActorData ActorInfo = new ActorData();

    public void InitActorInfo(ActorData actorInfo)
    {
        this.ActorInfo = actorInfo;
    }

    public virtual void InitStart()
    {

    }
    public bool isLocalPlayer
    {
        get
        {
            if (Global.Instantce.Actor == null)
            {
                return true;
            }

            return Global.Instantce.Actor.actorGUID == ActorInfo.actorGUID;
        }
    }
}

